package com.neu.his.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neu.his.entity.DrugDisturb;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DrugDisturbMapper extends BaseMapper<DrugDisturb> {
    //获取id-drugDisturb的drug,id=-1时获取全部
    public List<DrugDisturb> getDisturbOfDrug(Long id);

    //获取id-drugDisturb的diag,id=-1时获取全部
    public List<DrugDisturb> getDisturbDiag(Long id);
}
